home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / prog / pbc23c.arj / FLOORD.BAS < prev    next >
BASIC Source File  |  1994-03-13  |  549b  |  14 lines

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        PBClone  Copyright (c) 1990-1994  Thomas G. Hanlin III        |
  4. '   |                                                                      |
  5. '   +----------------------------------------------------------------------+
  6.  
  7. FUNCTION FloorD# (Number#)
  8.    IF Number# = INT(Number#) THEN
  9.       FloorD# = Number#
  10.    ELSE
  11.       FloorD# = INT(Number#) - 1#
  12.    END IF
  13. END FUNCTION
  14.